/**
 * Copyright (C) 2011-2021 liepin Inc.All Rights Reserved.
 * 
 * FileName:UserOrderGoodsDaoImpl.java
 *
 * Description：简要描述本文件的内容
 *
 * History：
 * 版本号           作者                  日期               简要介绍相关操作
 *  1.0  chenyong  2016年11月8日
 *
 */
package com.buybuyyi.stylistcrm.order.dao.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import stylistcrm.core.services.order.dto.OrderGoodsDto;

import com.buybuyyi.stylistcrm.order.dao.UserOrderGoodsDao;
import com.buybuyyi.stylistcrm.order.mapper.UserOrderGoodsMapper;
import com.buybuyyi.stylistcrm.order.po.UserOrderGoods;

/**
 * @author chenyong
 *
 */
@Repository
public class UserOrderGoodsDaoImpl implements UserOrderGoodsDao {

	@Autowired
	private UserOrderGoodsMapper userOrderGoodsMapper;
	
	@Override
	public int deleteByPrimaryKey(Integer id) {
		return userOrderGoodsMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(UserOrderGoods record) {
		return userOrderGoodsMapper.insert(record);
	}

	@Override
	public int insertSelective(UserOrderGoods record) {
		return userOrderGoodsMapper.insertSelective(record);
	}

	@Override
	public UserOrderGoods selectByPrimaryKey(Integer id) {
		return userOrderGoodsMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(UserOrderGoods record) {
		return userOrderGoodsMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(UserOrderGoods record) {
		return userOrderGoodsMapper.updateByPrimaryKey(record);
	}


}
